package com.example.layui.demo.service;


import com.example.layui.demo.entity.Article;
import com.example.layui.demo.entity.Result;
import com.example.layui.demo.mapper.CounteMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

public interface MyService {

   public Result getCount();
    List<Article>  getArticleList(Map<String,Integer> param);
    List<Article>  getArticleList1(Article Article);
    Integer getArticleCount();
    Article getArticleByid(Integer id);
    int delArticlebyId(Integer id);
    int updateArticle1(Article Article);
   int deleteByIds(int[] ids);
    Integer getArticleCountWhere(Article Article);

   int  DeleteArticleByids(Integer[] id);




}
